package com.tj.service.impl;

import com.tj.mapper.SetMealDetailedMapper;
import com.tj.pojo.SetMealDetailed;
import com.tj.service.SetMealDetailedService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SetMealDetailedServiceImpl implements SetMealDetailedService {
    @Resource
    private SetMealDetailedMapper setMealDetailedMapper;


    @Override
    public List<SetMealDetailed> findSMDAllList() {
        return setMealDetailedMapper.findAllList();
    }

    @Override
    public List<SetMealDetailed> findSetMealDetailedListBySdId(int sdId) {
        return setMealDetailedMapper.findSetMealDetailedListBySdId(sdId);
    }

    @Override
    public SetMealDetailed findSetMealDetailedBySmId(int smId) {
        return null;
    }

    @Override
    public int insertSetMealDetailed(SetMealDetailed setMealDetailed) {
        return 0;
    }

    @Override
    public int updateSetMealDetailed(SetMealDetailed setMealDetailed) {
        return 0;
    }

    @Override
    public int deleteSetMealDetailed(SetMealDetailed setMealDetailed) {
        return 0;
    }
}
